﻿@namespace Masa.Blazor.Presets
@inherits PatternPathComponentBase

<MWindow Class="@CssProvider.GetClass()" Style="@CssProvider.GetStyle()" Value="@_currentPatternPath?.Pattern">
    @foreach (var path in PatternPaths)
    {
        <MWindowItem Transition="" Style="height: 100%" Value="@path.Pattern" @key="path.Pattern">
            <PPageContainerItem Value="@(path.Pattern == GetCurrentPatternPath().Pattern)">
                @ChildContent
            </PPageContainerItem>
        </MWindowItem>
    }
</MWindow>
